<template>
  <div class="wrapper">
    <!-- 楼层装修组件 -->
    <tpl ref="tpl" />
	<!-- <u-tabbar v-model="current" :list="list"></u-tabbar> -->
	<myTabbat :current="0"></myTabbat>
	<view style="height: 132rpx;"></view>
  </div>
  
</template>
<script>
import tpl from "@/pages/tabbar/home/views.vue";
import myTabbat from "@/components/myTabbar/myTabbar.vue"
export default {
  data() {
    return {
      background: {
        backgroundColor: "#fff",
      }
    };
  },
  onLoad() {
  	uni.hideTabBar({
		success(e) {
			console.log(e);
		}
	})
  },
  onReachBottom(){
    // 给子级监听触底加载
    uni.$emit('onReachBottom',true)
  },
  
  onPullDownRefresh() {
    this.$refs.tpl.init();

    uni.stopPullDownRefresh();
  },
  components: {
    tpl,
	myTabbat
  },
};
</script>

<style lang="scss" scoped>
</style>
